package red.uec.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import red.uec.sms.SmsClient;

@Configuration
public class SmsConfig {
    @Bean
    public SmsClient smsClient(){
        SmsClient smsClient = new SmsClient();
        smsClient.setAccountSid("8aaf07085600cabd01560716f4190726");
        smsClient.setAppId("8aaf07085600cabd01560716f482072c");
        smsClient.setAuthToken("c21f8feb7e8e4a39aeccb2b6ed24251f");
        smsClient.setBaseUrl("https://app.cloopen.com:8883");

        return smsClient;
    }
}
